//
//  ColorCollectionViewCell.m
//  WayToHome
//
//  Created by A-01 on 2020/6/22.
//  Copyright © 2020 A-01. All rights reserved.
//

#import "ColorCollectionViewCell.h"

@implementation ColorCollectionViewCell


-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        //设置控件
        [self setupUI];
    }
    
    return self;
}


- (void)setupUI{
    
    UIImageView * backImageView = [[UIImageView alloc] initWithFrame:self.bounds];
    
    backImageView.backgroundColor = [UIColor colorWithHexString:@"0AB966"];
    backImageView.layer.borderWidth = 1;
    backImageView.layer.borderColor = [[UIColor colorWithHexString:@"08A55B"] CGColor];
    self.backImageView = backImageView;
    
    [self.contentView addSubview:self.backImageView];
}

@end
